package Entity;

import java.util.Date;

public class Comment {
	public String commentID, resourceID,commentatorID,theContent;
	public String commentTime;
	public Comment(String commentID, String resourceID, String commentatorID, String theContent,
			String commentTime) {
		super();
		this.commentID = commentID;
		this.resourceID = resourceID;
		this.commentatorID = commentatorID;
		this.theContent = theContent;
		this.commentTime = commentTime;
	}
	public Comment() {
		super();
		// TODO Auto-generated constructor stub
	}
	public String getCommentID() {
		return commentID;
	}
	public void setCommentID(String commentID) {
		this.commentID = commentID;
	}
	public String getResourceID() {
		return resourceID;
	}
	public void setResourceID(String resourceID) {
		this.resourceID = resourceID;
	}
	public String getCommentatorID() {
		return commentatorID;
	}
	public void setCommentatorID(String commentatorID) {
		this.commentatorID = commentatorID;
	}
	public String getTheContent() {
		return theContent;
	}
	public void setTheContent(String theContent) {
		this.theContent = theContent;
	}
	
	public String getCommentTime() {
		return commentTime;
	}
	public void setCommentTime(String commentTime) {
		this.commentTime = commentTime;
	}
	@Override
	public String toString() {
		return "Comment [commentID=" + commentID + ", resourceID=" + resourceID + ", commentatorID=" + commentatorID
				+ ", theContent=" + theContent + ", commentTime=" + commentTime + "]";
	}
	
	
	

}
